<?php


namespace app\api\task;


abstract  class Base
{
    protected $cmd_data;
    protected $run_method;
    protected $run_data;

    protected function __construct($cmd,$data)
    {
        $this->run_method = $this->cmd_data[$cmd];
        $this->run_data = $data;
    }

    abstract  function run();
}